
The codes need to be run by STATA16 or above

First, open "WongLiangStudy1multistate_prepare.do", and run the codes.

Then, open "WongLiangStudy1multistate_analysis.do" to generate survival model figures. 